public class Test {

    public static void main(String[] args) {

        int[] array = {27,15,19,18,28,34,65,49,25,37};
        TestHeap testHeap = new TestHeap();
        testHeap.creatHeap(array);
        testHeap.buildHeap();
        testHeap.offer(23);
        testHeap.offer(98);
        testHeap.offer(49);
        testHeap.sortHeap();
    }
}
